<style lang="less" scoped>

  .el-menu-item {
    height: 0px;
  }

  .active {
    display: none;
  }
</style>

<template>
  <div>
    <el-row>
      <el-col :span="24">
        <div class="grid-content bg-purple-dark"
             style="width: 90%;height: 300px;background: #E2F1E3;margin: auto;border: 2px solid #E2F1E3">
          <div style="margin-top: 20px;margin-left: 20px;color: forestgreen;">
            <i class="fa fa-check-circle" style="color: forestgreen"></i>
            您已支付成功<br>
          </div>
        </div>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="24" style="margin-top: 20px">
        <div class="grid-content bg-purple-dark"
             style="width: 90%;margin: auto;">
          <el-menu mode="vertical" :default-active="$route.path" router class="el-menu-vertical-demo">
            <el-menu-item index="/meb_user/order/manage">
              <el-button>返回订单管理页</el-button>
            </el-menu-item>
          </el-menu>
        </div>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default{
  data () {
    return {
      userName: this.$store.state.realName
    };
  },
  methods: {},

  mounted () {

    //            let unionPay = window.location.href.indexOf("unionPay");
    //            if (unionPay !== -1) {
    //                this.aliPayBack = true;
    //                this.unionPayBack = false;
    //                return
    //            } else {
    //                this.aliPayBack = false;
    //                this.unionPayBack = true;
    //                let params = window.location.hash.split("?")[1];
    //                let totalAmountName = params.split("&")[0].split("=")[0];
    //                this.totalAmount = params.split("&")[0].split("=")[1];
    //                console.log(totalAmountName + "--------" + this.totalAmount);
    //            }

  }
};
</script>
